using System;

namespace Tail
{
	/// <summary>
	/// Summary description for FileVerifier.
	/// </summary>
	public class FileVerifier : Verifier
	{
		public FileVerifier(String key) : base(key)
		{
			//
			// TODO: Add constructor logic here
			//
		}

		public override bool verify(String val,System.Collections.Hashtable hash){
			bool result = System.IO.File.Exists(val);
			if (result)
				hash.Add(key,val);
			return result;
		}
	}
}
